{mtpl 'header'}

<!--- search start --->
  <div class="search">
    <form action="index.php?file=search{$cityparam}" method="POST">
    <input name="q" type="text" size="18" />
    <input type="submit" name="dosubmit" value="提交" />
    </form>
    <p>热门：
    {loop $hotkeys $r}
        <a href="index.php?file=search&q={urlencode($r)}">{$r}</a> 
    {/loop}
    </p>
  </div>
  <div class="clear"></div>
<!--- search end --->


{mtpl 'cats'}
  
  <h4>热门商家</h4>
<ul class="textList">
{loop $hotshop $r}
    <li>· <a href="index.php?file=shopshow&amp;id={$r['id']}{$cityparam}">{m_strip($r['shopname'])}{m_subname($r[subname])} {m_discount($r['discount'])}</a></li>
{/loop}
    <li>&nbsp;&nbsp;<a href="?file=shoplist{$cityparam}">更多>></a></li>
</ul>
  <div class="clear"></div>
  
<h4>热门优惠</h4>
<ul class="textList">
{loop $newdiscount $r}
    <li>· <a href="index.php?file=show&amp;id={$r['contentid']}{$cityparam}">{m_strip($r['title'])}</a></li>
{/loop}
    <li>&nbsp;&nbsp;<a href="?file=list&catcode=13{$cityparam}">更多>></a></li>
</ul>

{mtpl 'footer'}